Microsoft.Silverlight.Testing.Client.TestAssemblyData.TestAssemblyData C# (CSharp) Method

TestAssemblyData() public method

Initializes a new instance of the TestAssemblyData type.
public TestAssemblyData ( IAssembly testAssembly ) : System
testAssembly IAssembly The test assembly metadata.
return System
        public TestAssemblyData(IAssembly testAssembly)
        {
            if (testAssembly == null)
            {
                throw new ArgumentNullException("testAssembly");
            }

            _classes = new ObservableCollection<TestClassData>();

            // A weak reference or snap of data can be used to prevent leaks.
            Name = testAssembly.Name;

            // Always expand test assemblies
            IsExpanded = true;
        }