public static NDomain Create(AssemblyDomain domain, bool complieInFile = false) { NDomain instance = new NDomain { _complieInFile = complieInFile, _domain = domain }; return(instance); }
public static NDomain Random(bool complieInFile = false) { NDomain instance = new NDomain { _complieInFile = complieInFile, _domain = DomainManagment.Random }; return(instance); }
public static NDomain Create(AssemblyDomain domain, ComplierResultTarget target = ComplierResultTarget.Stream, ComplierResultError error = ComplierResultError.None) { NDomain instance = new NDomain { _target = target, _error = error, _domain = domain }; return(instance); }
public static NDomain Create(string name = default) { NDomain domain = new NDomain(); if (name == default) { domain._domain = DomainManagment.Create("N" + Guid.NewGuid().ToString("N")); } else { domain._domain = DomainManagment.Create(name); } return(domain); }
public static NDomain Create(string domainName = default, bool complieInFile = false) { NDomain instance = new NDomain { _complieInFile = complieInFile }; if (domainName == default) { instance._domain = DomainManagment.Default; } else { instance._domain = DomainManagment.Create(domainName); } return(instance); }