Click or drag to resize

SetupConfig_PackageRules Class

Represents the rules indicating how a MSS file must be packaged.

Files are selected by their extension.

A file with another extension can be included using the IncludeFiles list.

A file with an extension among the list can be excluded using the ExcludeFiles list.

In sub directories, the previous rules are ignored if a directory specified as excluded or not included.

Inheritance Hierarchy
SystemObject
  MicaSystems.Utils.SetupSetupConfig_PackageRules

Namespace:  MicaSystems.Utils.Setup
Assembly:  MicaSystems.Utils (in MicaSystems.Utils.dll) Version: 1.0.0.0 (1.1.0.123)
Syntax
C#
[SerializableAttribute]
[DataContractAttribute]
public class SetupConfig_PackageRules

The SetupConfig_PackageRules type exposes the following members.

Constructors
  NameDescription
Public methodSetupConfig_PackageRules
Initializes a new instance of the SetupConfig_PackageRules class.
Top
Properties
  NameDescription
Public propertyExcludeDirectories
Gets or sets the list of directories to exclude from the setup. Only relevant when IncludeAllDirectories is True.
Public propertyExcludeFiles
Gets or sets the list of files to exclude from the setup. Use this list to exclude files that should be initially included following the list of extensions.
Public propertyIncludeAllDirectories
Gets or sets a value indicating whether all sub directories can be included in the setup.

If False, you can use the IncludeDirectories list to include specific directories.

If True, you can use the ExcludeDirectories list to exclude specific directories.

This settings have the priority on file settings.

Public propertyIncludeAllFilesWithExtensions
Gets or sets the list of file extensions to include by default in the setup.
Public propertyIncludeDirectories
Gets or sets the list of directories to include in the setup. Only relevant when IncludeAllDirectories is False.
Public propertyIncludeFiles
Gets or sets the list of files to include in the setup. This list comes as a complement of the IncludeAllFilesWithExtensions list.
Public propertySerializedExtensionList
Use IncludeAllFilesWithExtensions instead.
Top
Methods
  NameDescription
Public methodEquals
Compares this object to another object.
(Overrides ObjectEquals(Object).)
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodAsT
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.)
Public Extension MethodEqualsAll
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.)
Public Extension MethodEqualsAny
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.)
Public Extension MethodGetString
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.)
Public Extension MethodIsGenericListOverloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.)
Public Extension MethodIsGenericList(Type)Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.)
Public Extension MethodSerializeOverloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerialize(String)Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerializeJsonOverloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(ListType)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(DataContractJsonSerializerSettings)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Top
See Also