Click here to Skip to main content
15,898,134 members
Articles / Desktop Programming / Windows Forms

Visual Application Launcher

Rate me:
Please Sign up or sign in to vote.
4.91/5 (37 votes)
23 Jan 2012CPOL23 min read 108.2K   3.7K   116  
A WinForms UI using WCF services, Entity Framework, repository data access, repository caching, Unit of Work, Dependency Injection, and every other buzz work you can think of!
<?xml version="1.0"?>
<doc>
    <assembly>
        <name>VAL.Common</name>
    </assembly>
    <members>
        <member name="T:VAL.Common.NoFilePermissionsException">
            <summary>
            An exception that is thrown when there are no file permissions assigned
            against the current user
            </summary>
            
        </member>
        <member name="T:VAL.Common.VALException">
            <summary>
            An exception that is thrown when the VAL application encounters an unexpected
            error
            </summary>
        </member>
        <member name="M:VAL.Common.VALException.#ctor(System.String)">
            <summary>
            Constructor accepting a single string message
            </summary>
            <param name="message">The message for the exception</param>
        </member>
        <member name="M:VAL.Common.VALException.#ctor(System.String,System.Exception)">
            <summary>
            Constructor accepting a string message and an 
            inner exception which will be wrapped by this 
            custom exception class
            </summary>
            <param name="message">The message for the exception </param>
            <param name="inner">The inner exception to be wrapped</param>
        </member>
        <member name="M:VAL.Common.VALException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
            <summary>
            Construct with <see cref="T:System.Runtime.Serialization.SerializationInfo"/> and a <see cref="T:System.Runtime.Serialization.StreamingContext"/>
            </summary>
            <param name="info"></param>
            <param name="context"></param>
        </member>
        <member name="M:VAL.Common.NoFilePermissionsException.#ctor(System.String)">
            <summary>
            Constructor accepting a single string message
            </summary>
            <param name="message">The message for the exception</param>
        </member>
        <member name="M:VAL.Common.NoFilePermissionsException.#ctor(System.String,System.Exception)">
            <summary>
            Constructor accepting a string message and an 
            inner exception which will be wrapped by this 
            custom exception class
            </summary>
            <param name="message">The message for the exception </param>
            <param name="inner">The inner exception to be wrapped</param>
        </member>
        <member name="M:VAL.Common.NoFilePermissionsException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
            <summary>
            Construct with <see cref="T:System.Runtime.Serialization.SerializationInfo"/> and a <see cref="T:System.Runtime.Serialization.StreamingContext"/>
            </summary>
            <param name="info"></param>
            <param name="context"></param>
        </member>
        <member name="P:VAL.Common.Configuration.VALElement.MicrosoftOfficeLocation">
            <summary>
            This is the root location of where Microsoft Office is installed on the 
            client machine
            </summary>
        </member>
        <member name="P:VAL.Common.Configuration.VALElement.DistributeWorkgroups">
            <summary>
            If true, VAL will create copies of network workgroups and attempt to sign
            users on via the copies when launching Access databases
            </summary>
        </member>
        <member name="P:VAL.Common.Configuration.VALElement.IsReportingEnabled">
            <summary>
            If true, VAL will create a record of what file was launched when a user double
            clicks an icon
            </summary>
        </member>
        <member name="P:VAL.Common.Configuration.VALElement.ActiveDirectoryDomain">
            <summary>
            Should be a valid LDAP string if you are connected to a domain
            </summary>
        </member>
        <member name="P:VAL.Common.Configuration.VALElement.AdministratorDomainGroup">
            <summary>
            The name of the group that VAL administrators are members of. If you are connected
            to a domain and want multiple administrators, create a domain group and enter the
            name here
            </summary>
        </member>
        <member name="P:VAL.Common.Configuration.VALElement.HelpDirectory">
            <summary>
            The location of the help files for VAL
            </summary>
        </member>
        <member name="P:VAL.Common.Configuration.VALElement.AccessDatabaseLocation">
            <summary>
            Location of an access database that can be connected to by all administrators
            of VAL. Used within the user cloning process, since ADOX requires an active
            catalogue connection
            </summary>
        </member>
        <member name="P:VAL.Common.Configuration.VALElement.EnterpriseWorkgroupDirectory">
            <summary>
            Location of a centralised security workgroup that contains user and group
            information. This should be the directory location
            </summary>
        </member>
        <member name="P:VAL.Common.Configuration.VALElement.EnterpriseWorkgroupName">
            <summary>
            The name of the enterprise workgroup. Should be just the name part of the file
            </summary>
        </member>
        <member name="P:VAL.Common.Configuration.VALElement.EnterpriseAdminUserName">
            <summary>
            The user name of an account with administrator access in the enterprise
            workgroup. Used for creating a connection to the workgroup when cloning
            user accounts
            </summary>
        </member>
        <member name="P:VAL.Common.Configuration.VALElement.EnterpriseAdminPassword">
            <summary>
            The password of the <see cref="P:VAL.Common.Configuration.VALElement.EnterpriseAdminUserName"/>.
            Used for creating a connection to the workgroup when cloning
            user accounts
            </summary>
        </member>
        <member name="P:VAL.Common.Configuration.VALElement.EnterpriseWorkgroupFullPath">
            <summary>
            Read only. The full name of the workgroup file by combining <see cref="P:VAL.Common.Configuration.VALElement.EnterpriseWorkgroupDirectory"/>
            and <see cref="P:VAL.Common.Configuration.VALElement.EnterpriseWorkgroupName"/>
            </summary>
        </member>
        <member name="P:VAL.Common.Configuration.VALElement.LocalDatabaseDirectory">
            <summary>
            Location specific to users where of where to copy access databases and workgroup 
            files when launching Access dbs
            </summary>
        </member>
        <member name="P:VAL.Common.Configuration.VALElement.AllowedFileTypeFilter">
            <summary>
            A filter that defines the files types allowed in VAL
            </summary>
        </member>
        <member name="T:System.IO.TemporaryFile">
            <summary>
            Defines a file that is automatically cleared up when usage is
            complete
            </summary>
        </member>
        <member name="M:System.IO.TemporaryFile.#ctor">
            <summary>
            Construct
            </summary>
        </member>
        <member name="M:System.IO.TemporaryFile.#ctor(System.Boolean)">
            <summary>
            Construct
            </summary>
            <param name="shortLived">shortLived</param>
        </member>
        <member name="M:System.IO.TemporaryFile.Finalize">
            <summary>
            Finaliser
            </summary>
        </member>
        <member name="M:System.IO.TemporaryFile.Dispose">
            <summary>
            Disposes of the file
            </summary>
        </member>
        <member name="M:System.IO.TemporaryFile.Dispose(System.Boolean)">
            <summary>
            Disposes of the file
            </summary>
            <param name="disposing"></param>
        </member>
        <member name="M:System.IO.TemporaryFile.CreateTemporaryFile(System.Boolean)">
            <summary>
            Creates a temporary file
            </summary>
            <param name="shortLived">If true, the file is marked with the <see cref="F:System.IO.FileAttributes.Temporary"/> FileAttribute</param>
            <returns></returns>
        </member>
        <member name="P:System.IO.TemporaryFile.Path">
            <summary>
            Returns the path of the file
            </summary>
        </member>
        <member name="P:System.IO.TemporaryFile.Keep">
            <summary>
            Gets or Sets whether to keep the file
            </summary>
        </member>
        <member name="T:VAL.Common.SingleProgramInstance">
            <summary>
            SingleProgamInstance uses a mutex synchronization 
            object to ensure that only one copy of process is running 
            at a particular time.  It also allows for UI identification
            of the intial process by bringing that window to the foreground.
            </summary>
        </member>
        <member name="M:VAL.Common.SingleProgramInstance.#ctor">
            <summary>
            Default construct. Creates a mutex over the currently executing
            assembly.
            </summary>
        </member>
        <member name="M:VAL.Common.SingleProgramInstance.#ctor(System.String)">
            <summary>
            Construct that allow you to pass in the identifier for
            your mutex
            </summary>
            <param name="identifier"></param>
        </member>
        <member name="M:VAL.Common.SingleProgramInstance.Finalize">
            <summary>
            Finaliser for the class. This should have been accomplished using Dispose() 
            </summary>
        </member>
        <member name="M:VAL.Common.SingleProgramInstance.RaiseOtherProcess">
            <summary>
            Method to place focus on the other instance, if one exists
            </summary>
        </member>
        <member name="M:VAL.Common.SingleProgramInstance.Release">
            <summary>
            Releases the resources in this classes finaliser, if Dispose has
            not been called
            </summary>
        </member>
        <member name="M:VAL.Common.SingleProgramInstance.Dispose">
            <summary>
            Dispose of the objects resources
            </summary>
        </member>
        <member name="P:VAL.Common.SingleProgramInstance.IsSingleInstance">
            <summary>
            Read only. Returns true if the application is the only running instance
            </summary>
        </member>
        <member name="T:VAL.EncryptionHelper">
            <summary>
            Simple class to help encrypt \ descript a string
            </summary>
        </member>
        <member name="M:VAL.EncryptionHelper.Encrypt(System.String,System.String)">
            <summary>
            Encrypt the given string using AES.  The string can be decrypted using 
            DecryptStringAES().  The sharedSecret parameters must match.
            </summary>
            <param name="plainText">The text to encrypt.</param>
            <param name="sharedSecret">A password used to generate a key for encryption.</param>
        </member>
        <member name="M:VAL.EncryptionHelper.Decrypt(System.String,System.String)">
            <summary>
            Decrypt the given string.  Assumes the string was encrypted using 
            EncryptStringAES(), using an identical sharedSecret.
            </summary>
            <param name="cipherText">The text to decrypt.</param>
            <param name="sharedSecret">A password used to generate a key for decryption.</param>
        </member>
        <member name="T:VAL.Common.BusinessRuleException">
            <summary>
            Represents error that occurs when a business object in the model is invalid because
            a rules have been violated
            </summary>
        </member>
        <member name="M:VAL.Common.BusinessRuleException.#ctor(System.String)">
            <summary>
            Construct with message
            </summary>
            <param name="message">message</param>
        </member>
        <member name="M:VAL.Common.BusinessRuleException.#ctor(System.String,System.Exception)">
            <summary>
            Construct with message and inner exception
            </summary>
            <param name="message">essage</param>
            <param name="inner"><see cref="T:System.Exception"/> object</param>
        </member>
        <member name="M:VAL.Common.BusinessRuleException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
            <summary>
            Construct with <see cref="T:System.Runtime.Serialization.SerializationInfo"/> and a <see cref="T:System.Runtime.Serialization.StreamingContext"/>
            </summary>
            <param name="info"><see cref="T:System.Runtime.Serialization.SerializationInfo"/> object</param>
            <param name="context"><see cref="T:System.Runtime.Serialization.StreamingContext"/> object</param>
        </member>
        <member name="T:VAL.Common.UserAlreadyExistsInWorkgroupException">
            <summary>
            An exception that is thrown when VAL attempts to create a user in the 
            workgroup that already exists
            </summary>
            
        </member>
        <member name="M:VAL.Common.UserAlreadyExistsInWorkgroupException.#ctor(System.String)">
            <summary>
            Constructor accepting a single string message
            </summary>
            <param name="message">The message for the exception</param>
        </member>
        <member name="M:VAL.Common.UserAlreadyExistsInWorkgroupException.#ctor(System.String,System.Exception)">
            <summary>
            Constructor accepting a string message and an 
            inner exception which will be wrapped by this 
            custom exception class
            </summary>
            <param name="message">The message for the exception </param>
            <param name="inner">The inner exception to be wrapped</param>
        </member>
        <member name="M:VAL.Common.UserAlreadyExistsInWorkgroupException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
            <summary>
            Construct with <see cref="T:System.Runtime.Serialization.SerializationInfo"/> and a <see cref="T:System.Runtime.Serialization.StreamingContext"/>
            </summary>
            <param name="info"></param>
            <param name="context"></param>
        </member>
        <member name="T:VAL.Common.Properties.Resources">
            <summary>
              A strongly-typed resource class, for looking up localized strings, etc.
            </summary>
        </member>
        <member name="P:VAL.Common.Properties.Resources.ResourceManager">
            <summary>
              Returns the cached ResourceManager instance used by this class.
            </summary>
        </member>
        <member name="P:VAL.Common.Properties.Resources.Culture">
            <summary>
              Overrides the current thread's CurrentUICulture property for all
              resource lookups using this strongly typed resource class.
            </summary>
        </member>
        <member name="P:VAL.Common.Properties.Resources.CannotDeleteWhileGroupsExists">
            <summary>
              Looks up a localized string similar to Cannot delete a group type while groups are still assigned to it. Move groups from the group type before attempting a delete.
            </summary>
        </member>
        <member name="P:VAL.Common.Properties.Resources.CannotFindDirectory">
            <summary>
              Looks up a localized string similar to VAL cannot find directory &apos;{0}&apos;, are you sure you want to use it? VAL will attempt to create this directory when the file is launched.
            </summary>
        </member>
        <member name="P:VAL.Common.Properties.Resources.CannotFindFile">
            <summary>
              Looks up a localized string similar to VAL cannot find the file &apos;{0}&apos;, ae you sure you want to use it.
            </summary>
        </member>
        <member name="P:VAL.Common.Properties.Resources.DeleteGroupPrompt">
             <summary>
               Looks up a localized string similar to You have selected to delete the group &apos;{0}&apos;
            
            All file and users associations will also be lost for the group, are you sure?.
             </summary>
        </member>
        <member name="P:VAL.Common.Properties.Resources.DeleteUserPrompt">
            <summary>
              Looks up a localized string similar to Delete user and all associated permissions from the database?.
            </summary>
        </member>
        <member name="P:VAL.Common.Properties.Resources.EnterpriseWorkgroupException">
            <summary>
              Looks up a localized string similar to The EnterpriseWorkgroup setting has not been configured.
            </summary>
        </member>
        <member name="P:VAL.Common.Properties.Resources.ExitWithoutSavePrompt">
            <summary>
              Looks up a localized string similar to Exit screen without saving changes?.
            </summary>
        </member>
        <member name="P:VAL.Common.Properties.Resources.FileDeletionPrompt">
            <summary>
              Looks up a localized string similar to Delete file &apos;{0}&apos; from the database? It will also be removed from all associated groups.
            </summary>
        </member>
        <member name="P:VAL.Common.Properties.Resources.InvalidIconSize">
            <summary>
              Looks up a localized string similar to The maximum dimensions for the file image are 32 by 32.
            </summary>
        </member>
        <member name="P:VAL.Common.Properties.Resources.MaximumIconSizeExceeded">
            <summary>
              Looks up a localized string similar to The image selected is greater than the maximum size allowed for application icons (15KB).
            </summary>
        </member>
        <member name="P:VAL.Common.Properties.Resources.NoFilePermissions">
            <summary>
              Looks up a localized string similar to You don&apos;t have any permissions assigned to your account! Please contact a system administrator who will add the icons for you.
            </summary>
        </member>
        <member name="P:VAL.Common.Properties.Resources.NoGroupSelected">
            <summary>
              Looks up a localized string similar to VAL could not determine which group you have selected. Please ensure you have selected either a group, or one of its child nodes.
            </summary>
        </member>
        <member name="P:VAL.Common.Properties.Resources.NoIconSelected">
            <summary>
              Looks up a localized string similar to You must specify an icon to identify the file.
            </summary>
        </member>
        <member name="P:VAL.Common.Properties.Resources.NoItemSelected">
            <summary>
              Looks up a localized string similar to You must select an item from the available list.
            </summary>
        </member>
        <member name="P:VAL.Common.Properties.Resources.UserInactiveAtLogon">
             <summary>
               Looks up a localized string similar to User &apos;{0}&apos; exists in the VAL database but the account is Inactive
            
            Please contact an administrator to reactivate the account.
             </summary>
        </member>
        <member name="P:VAL.Common.Properties.Resources.UserNotFoundLogon">
             <summary>
               Looks up a localized string similar to User {0} does not exist in the VAL database. 
            
            Please contact an administrator to create your account and assign permissions.
             </summary>
        </member>
        <member name="T:VAL.Common.UserNotFoundException">
            <summary>
            An exception that is thrown when VAL attempts to create a user in the 
            workgroup that already exists
            </summary>
            
        </member>
        <member name="M:VAL.Common.UserNotFoundException.#ctor(System.String)">
            <summary>
            Constructor accepting a single string message
            </summary>
            <param name="message">The message for the exception</param>
        </member>
        <member name="M:VAL.Common.UserNotFoundException.#ctor(System.String,System.Exception)">
            <summary>
            Constructor accepting a string message and an 
            inner exception which will be wrapped by this 
            custom exception class
            </summary>
            <param name="message">The message for the exception </param>
            <param name="inner">The inner exception to be wrapped</param>
        </member>
        <member name="M:VAL.Common.UserNotFoundException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
            <summary>
            Construct with <see cref="T:System.Runtime.Serialization.SerializationInfo"/> and a <see cref="T:System.Runtime.Serialization.StreamingContext"/>
            </summary>
            <param name="info"></param>
            <param name="context"></param>
        </member>
        <member name="T:VAL.Common.Guard">
            <summary>
            Provides utility methods to guard parameter and local variables.
            </summary>
        </member>
        <member name="M:VAL.Common.Guard.Against``1(System.Boolean,System.String)">
            <summary>
            Throws an exception of type <typeparamref name="TException"/> with the specified message
            when the assertion statement is true.
            </summary>
            <typeparam name="TException">The type of exception to throw.</typeparam>
            <param name="assertion">The assertion to evaluate. If true then the <typeparamref name="TException"/> exception is thrown.</param>
            <param name="message">string. The exception message to throw.</param>
        </member>
        <member name="M:VAL.Common.Guard.Against``1(System.Func{System.Boolean},System.String)">
            <summary>
            Throws an exception of type <typeparamref name="TException"/> with the specified message
            when the assertion
            </summary>
            <typeparam name="TException"></typeparam>
            <param name="assertion"></param>
            <param name="message"></param>
        </member>
        <member name="M:VAL.Common.Guard.TypeOf``1(System.Object,System.String)">
            <summary>
            Throws an <see cref="T:System.InvalidOperationException"/> when the specified object instance is
            not of the specified type.
            </summary>
            <typeparam name="TType">The Type that the <paramref name="instance"/> is expected to be.</typeparam>
            <param name="instance">The object instance whose type is checked.</param>
            <param name="message">The message of the <see cref="T:System.InvalidOperationException"/> exception.</param>
        </member>
        <member name="M:VAL.Common.Guard.IsEqual``1(System.Object,System.Object,System.String)">
            <summary>
            Throws an exception if an instance of an object is not equal to another object instance.
            </summary>
            <typeparam name="TException">The type of exception to throw when the guard check evaluates false.</typeparam>
            <param name="compare">The comparison object.</param>
            <param name="instance">The object instance to compare with.</param>
            <param name="message">string. The message of the exception.</param>
        </member>
        <member name="T:VAL.Common.GenericComparer`1">
            <summary>
            A generic comparer class that allows us to perform
            custom sorting on strongly typed collections
            </summary>
            <typeparam name="T">type</typeparam>
        </member>
        <member name="M:VAL.Common.GenericComparer`1.#ctor(System.String,System.ComponentModel.ListSortDirection)">
            <summary>
            Ctor
            </summary>
            <param name="sortExpression">sort expression</param>
            <param name="sortDirection">sort direction</param>
        </member>
        <member name="M:VAL.Common.GenericComparer`1.Compare(`0,`0)">
            <summary>
            Compares to objects against the sort expression that was specified
            during the construct and determines in which order to return
            an index
            </summary>
            <param name="x">object to compare</param>
            <param name="y">object to compare to</param>
            <returns>int</returns>
        </member>
        <member name="P:VAL.Common.GenericComparer`1.SortDirection">
            <summary>
            Direction in which to sort.
            </summary>
        </member>
        <member name="P:VAL.Common.GenericComparer`1.SortExpression">
            <summary>
            A sort expression to apply
            </summary>
        </member>
        <member name="T:VAL.Common.UserInactiveException">
            <summary>
            An exception that is thrown when VAL attempts to create a user in the 
            workgroup that already exists
            </summary>
            
        </member>
        <member name="M:VAL.Common.UserInactiveException.#ctor(System.String)">
            <summary>
            Constructor accepting a single string message
            </summary>
            <param name="message">The message for the exception</param>
        </member>
        <member name="M:VAL.Common.UserInactiveException.#ctor(System.String,System.Exception)">
            <summary>
            Constructor accepting a string message and an 
            inner exception which will be wrapped by this 
            custom exception class
            </summary>
            <param name="message">The message for the exception </param>
            <param name="inner">The inner exception to be wrapped</param>
        </member>
        <member name="M:VAL.Common.UserInactiveException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
            <summary>
            Construct with <see cref="T:System.Runtime.Serialization.SerializationInfo"/> and a <see cref="T:System.Runtime.Serialization.StreamingContext"/>
            </summary>
            <param name="info"></param>
            <param name="context"></param>
        </member>
        <member name="T:VAL.Common.UserAlreadyExistsException">
            <summary>
            An exception that is thrown when VAL attempts to create a user in the 
            workgroup that already exists
            </summary>
        </member>
        <member name="M:VAL.Common.UserAlreadyExistsException.#ctor(System.String)">
            <summary>
            Constructor accepting a single string message
            </summary>
            <param name="message">The message for the exception</param>
        </member>
        <member name="M:VAL.Common.UserAlreadyExistsException.#ctor(System.String,System.Exception)">
            <summary>
            Constructor accepting a string message and an 
            inner exception which will be wrapped by this 
            custom exception class
            </summary>
            <param name="message">The message for the exception </param>
            <param name="inner">The inner exception to be wrapped</param>
        </member>
        <member name="M:VAL.Common.UserAlreadyExistsException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
            <summary>
            Construct with <see cref="T:System.Runtime.Serialization.SerializationInfo"/> and a <see cref="T:System.Runtime.Serialization.StreamingContext"/>
            </summary>
            <param name="info"></param>
            <param name="context"></param>
        </member>
    </members>
</doc>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Technical Lead
United Kingdom United Kingdom
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions